package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.annotations.Param;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_shopVisit" )
@Table( name ="t_cl_shopVisit" )
public class ShopVisit  implements Serializable {

    @Id
   	@Column(name = "visit_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer visitId;

	/**
	 * 维度
	 */
   	@Column(name = "visit_lat" )
	@ApiModelProperty( value="维度")
	private String visitLat;

	/**
	 * 经度
	 */
   	@Column(name = "visit_lng" )
	@ApiModelProperty( value="经度")
	private String visitLng;

   	@Column(name = "shop_id" )
	@ApiModelProperty( value="null")
	private Integer shopId;

   	@Column(name = "user_id" )
	@ApiModelProperty( value="null")
	private Integer userId;

	/**
	 * 拍照打卡
	 */
   	@Column(name = "visit_pic" )
	@ApiModelProperty( value="拍照打卡")
	private String visitPic;

	/**
	 * 门店状态
	 */
   	@Column(name = "shop_status" )
	@ApiModelProperty( value="门店状态")
	private Integer shopStatus;

	/**
	 * 门店主属性
	 */
   	@Column(name = "shop_label" )
	@ApiModelProperty( value="门店主属性")
	private String shopLabel;

	/**
	 * 访问时间
	 */
   	@Column(name = "visit_date" )
	@ApiModelProperty( value="访问时间")
	private String visitDate;

	/**
	 * 审核状态0未审核，1审核
	 */
   	@Column(name = "visit_apply" )
	@ApiModelProperty( value="审核状态0未审核，1审核")
	private Integer visitApply;


    /**
     * 1首次 0不是
     */
    @Column(name = "is_first" )
    @ApiModelProperty( value="1首次 0不是")
    private Integer isFirst;

    /**
     * 驳回理由
     */
    @Column(name = "apply_note" )
    @ApiModelProperty( value="驳回理由")
    private String applyNote;

    @Column(name = "money" )
    @ApiModelProperty( value="投放广告牌金额")
    private Double money;


    @Transient
    private String shopName;

    @Transient
    private String userName;

  public Integer getVisitId() {
    return visitId;
  }

  public void setVisitId(Integer visitId) {
    this.visitId = visitId;
  }


  public String getVisitLat() {
    return visitLat;
  }

  public void setVisitLat(String visitLat) {
    this.visitLat = visitLat;
  }


  public String getVisitLng() {
    return visitLng;
  }

  public void setVisitLng(String visitLng) {
    this.visitLng = visitLng;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getVisitPic() {
    return visitPic;
  }

  public void setVisitPic(String visitPic) {
    this.visitPic = visitPic;
  }


  public Integer getShopStatus() {
    return shopStatus;
  }

  public void setShopStatus(Integer shopStatus) {
    this.shopStatus = shopStatus;
  }


  public String getShopLabel() {
    return shopLabel;
  }

  public void setShopLabel(String shopLabel) {
    this.shopLabel = shopLabel;
  }


  public String getVisitDate() {
    return visitDate;
  }

  public void setVisitDate(String visitDate) {
    this.visitDate = visitDate;
  }


  public Integer getVisitApply() {
    return visitApply;
  }

  public void setVisitApply(Integer visitApply) {
    this.visitApply = visitApply;
  }

    public Integer getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(Integer isFirst) {
        this.isFirst = isFirst;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getApplyNote() {
        return applyNote;
    }

    public void setApplyNote(String applyNote) {
        this.applyNote = applyNote;
    }


    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }
}
